<#include "header.ftl">

<#-- 账目页  -->
<script type="text/javascript" src="../../resources/js/account.js"></script>

<div class="g-doc"  ng-controller="accountcontroller">
    <div class="m-tab m-tab-fw m-tab-simple f-cb">
        <h2>已购买的内容</h2>
    </div>
    <div class="n-result"  ng-if = "selled == null || selled =='' " >
        <h3>暂无内容！</h3>
    	 </div>
    <table class="m-table m-table-row n-table g-b3" ng-hide = "selled == null || selled =='' ">
        <colgroup><col class="img"/><col/><col class="time"/><col/><col class="num"/><col/><col class="price"/><col/></colgroup>
    
   		 <thead>
            <tr><th>内容图片</th><th>内容名称</th><th>购买时间</th><th>购买数量</th><th>购买价格</th></tr>
        </thead>
        <tbody>
         <tr ng-repeat = "item in selled">
         	<td><img ng-src="{{item.pic}}" alt="no img"></td>
         	<td ng-bind="item.name"></td>
         	<td ng-bind="item.time"></td>
         	<td ng-bind="item.number"></td>
         	<td ><span class="v-unit">¥</span><span class="value" ng-bind="item.price"></span></td>
         </tr>
         </tbody>
          <tfoot>
            <tr>
                <td colspan="4"><div class="total">总计：</div></td>
                <td><span class="v-unit">¥</span><span class="value" ng-bind="totalPrice"></span></td>
            </tr>
        </tfoot>
         </table>
   
</div>



<#include "footer.ftl">